//
//  PicCollectionviewCell.swift
//  weibo
//
//  Created by 叶子韬韬 on 2017/5/5.
//  Copyright © 2017年 叶子韬韬. All rights reserved.
//

import UIKit

class PicCollectionviewCell: UICollectionViewCell {
    
    var picUrl:URL?{
        didSet{
            guard let picUrl = picUrl else {
                return
            }
            iconView.sd_setImage(with: picUrl, placeholderImage: UIImage(named: "empty_picture"))
        }
    }
    
    
    @IBOutlet weak var iconView: UIImageView!
    
}
